How to split a dataframe column into two columns and transform values in one expression using Python

welcome to shbcf.ru